package com.ruoyi.system.service.req;

import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: ruohao
 * @Date: 2023/8/27
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NormalUpdateBalanceDTO {
    @NotNull(message = "客户id不能为空")
    private Long id;

    @NotNull(message = "金额不能为空")
    private BigDecimal amount;

    @NotNull(message = "变更类型不能为空")
    private Integer type;

    String reason;
}
